package com.jinwei.qunguanjia.system.exception;

import com.jinwei.qunguanjia.common.exception.ServiceException;

public class UserServiceException extends ServiceException {

    private UserServiceException(String code, String msg) {
        super(code, msg);
    }

    public static final UserServiceException USER_PASSWORD_NOT_MATCH = new UserServiceException("10001", "用户不存在或密码错误");
    public static final UserServiceException USER_DISABLE = new UserServiceException("10002", "对不起，您的账号：{} 已停用");
    public static final UserServiceException USER_CAPTCHA_EXPIRE = new UserServiceException("10003", "验证码已失效");
    public static final UserServiceException USER_CAPTCHA_ERROR = new UserServiceException("10004", "验证码错误");
}
